package com.quarantine.model;

import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

import com.quarantine.listener.AuditableEntity;
/**
 * 通知公告
 * @author Administrator
 *
 */
@Entity
@Table(name = "announcement")
public class announcement extends AuditableEntity {

	    private String title; // 标题
		private String details; // 详细信息
		private int clickrate;   //阅读量
		private String showred;//展示字体红色
		private String shownew;//展示字体new字样
		public String getShowred() {
			return showred;
		}

		public void setShowred(String showred) {
			this.showred = showred;
		}

		public String getShownew() {
			return shownew;
		}

		public void setShownew(String shownew) {
			this.shownew = shownew;
		}

		public String getTitle() {
			return title; 
		}

		public void setTitle(String title) {
			this.title = title;
		}

		@Lob
		public String getDetails() {
			return details;
		}

		public void setDetails(String details) {
			this.details = details;
		}

		public int getClickrate() {
			return clickrate;
		}

		public void setClickrate(int clickrate) {
			this.clickrate = clickrate;
		}
}
